package com.szx.kaihei.service;

import com.szx.kaihei.Enums.CaptchaType;


public interface CodeService {
     void getCode(String phone,  CaptchaType type);

     boolean verifyCode(String phone, String code, CaptchaType type);

     String getCodeByImage(String phone, CaptchaType type);

     boolean verifyCodeByImage(String phone, String code, CaptchaType type);
}
